package com.link.ssm.service.admin;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.link.ssm.entity.admin.Role;

/*
 * 角色role
 */
@Service
public interface RoleService {

	public int add(Role role);

	public int edit(Role role);

	public int delete(Long id);

	public List<Role> findList(Map<String, Object> queryMap);

	public int getTotal(Map<String, Object> queryMap);
	
	public Role find(Long id);
}
